﻿//实践作业6.1
@{
    Layout = null;
}
@model IEnumerable<T6._1.Models.User>
<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>User</title>
</head>
<body>
    <div class="Title">
        <h1>用户信息列表</h1>
    </div>
    <div> 
        <table>
            <thead>
                <tr>
                    <th>用户编号</th>
                    <th>邮箱</th>
                    <th>密码</th>
                    <th>昵称</th>
                </tr>
            </thead>
            <tbody>
                @foreach (var user in Model)
                {
                <tr>
                    <td>@user.userid</td>
                    <td>@user.email</td>
                    <td>@user.pwd</td>
                    <td>@user.nick</td>
                </tr>
                }
            </tbody>
        </table>
    </div>
</body>
</html>
